package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋信息对象 zhwy_building
 * 
 * @author ruoyi
 * @date 2024-05-07
 */
public class ZhwyBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 楼栋编号 */
    @Excel(name = "楼栋编号")
    private String code;

    /** 楼栋名称 */
    @Excel(name = "楼栋名称")
    private String name;

    /** 商业区id */
    @Excel(name = "商业区id")
    private Long downtownId;
    @Excel(name = "商业区名称")
    private String downtownName;

    /** 删除状态 */
    private Long deleted;

    public String getDowntownName() {
        return downtownName;
    }

    public void setDowntownName(String downtownName) {
        this.downtownName = downtownName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDowntownId(Long downtownId) 
    {
        this.downtownId = downtownId;
    }

    public Long getDowntownId() 
    {
        return downtownId;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("downtownId", getDowntownId())
            .append("deleted", getDeleted())
            .toString();
    }
}
